package com.lostandfound.service;

import java.io.Serializable;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.lostandfound.dao.TestDaoI;
import com.lostandfound.entity.TestBean;

/**  
* 
*  
* @author xuao  
* @date 2018年3月8日
*/
@Service("testService")
public class TestServiceImpl implements TestServiceI {

    /**
     * 注入userDao
     */
    @Autowired
    private TestDaoI testDao;

	@Override
	public void test() {
		// TODO Auto-generated method stub

		System.out.println("Hello World!");
	}

    @Override
    public Serializable save(TestBean testBean) {
        return testDao.save(testBean);
    }

}
